package org.meerkat.forum.client.threadslist;

public class ThreadsList {

	private final ThreadsListView view;

	private final ThreadsListMinimized minimizedView;

	private final ThreadsListModel model;

	public ThreadsList(String title) {
		model = new ThreadsListModel(this);
		model.setTitle(title);
		view = new ThreadsListView(this);
		minimizedView = new ThreadsListMinimized(this);
	}

	public ThreadsList() {
		this("");
	}

	/**
	 * @return the view
	 */
	public ThreadsListView getView() {
		return view;
	}

	/**
	 * @return the minimizedView
	 */
	public ThreadsListMinimized getMinimizedView() {
		return minimizedView;
	}

	/**
	 * @return the model
	 */
	public ThreadsListModel getModel() {
		return model;
	}


}
